package com.himiotech.core.project.model.metadata;

/**
 * @author wuwenbin
 * @date 2021-05-13 17:49:14
 **/
public enum GenTableMetadata {

    /**
     * 字段类型列举，方便 mp 的 wrapper 使用
     */
	TABLE_ID("table_id"),
	TABLE_NAME("table_name"),
	TABLE_COMMENT("table_comment"),
	SUB_TABLE_NAME("sub_table_name"),
	SUB_TABLE_FK_NAME("sub_table_fk_name"),
	CLASS_NAME("class_name"),
	TPL_CATEGORY("tpl_category"),
	PACKAGE_NAME("package_name"),
	MODULE_NAME("module_name"),
	BUSINESS_NAME("business_name"),
	FUNCTION_NAME("function_name"),
	FUNCTION_AUTHOR("function_author"),
	GEN_TYPE("gen_type"),
	GEN_PATH("gen_path"),
	OPTIONS("options"),
	CREATE_BY("create_by"),
	CREATE_TIME("create_time"),
	UPDATE_BY("update_by"),
	UPDATE_TIME("update_time"),
	REMARK("remark");

    private final String colName;

    GenTableMetadata(String colName) {
        this.colName = colName;
    }

    public String getColName() {
        return colName;
    }
}
